<?php

/** 
 * 文件说明.
 * 
 * @author Kun Xu <kunx@jumei.com>
 */

$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array('enableAjaxValidation' => true, 'id' => 'userlogin-ajax')
);

echo $form->textFieldRow($model, 'username');
echo $form->passwordFieldRow($model, 'password');
echo $form->textFieldRow($model, 'verifyCode');
$this->widget('system.web.widgets.captcha.CCaptcha', array('captchaAction' => 'getVerifyCode'));
?>
<div class="">
        <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'type' => 'primary', 'label' => '登录')); ?>
</div>
<?php
$this->endWidget();
